package com.qinsheng.domain.strategy.service.rule.chain;

/**
 * ClassName: AbstractLoginChain
 * Description: 封装我们这个责任链
 *
 * @Author: qinsheng1900
 * @Create 2025/3/2 15:32
 * @Version 1.0
 */
public abstract class AbstractLogicChain implements ILogicChain {

    private ILogicChain next;

    @Override
    public ILogicChain appendNext(ILogicChain next) {
        this.next = next;
        return next;
    }

    @Override
    public ILogicChain next() {
        return next;
    }

    protected abstract String ruleModel();
}
